<?php
class ReadNotif extends Controller {
	function ReadNotif(){
		parent::Controller();	
	}
	function mentioned($mentioned_id){
		$this->load->model('Notif');
		$this->Notif->setFinishMentioned($mentioned_id);
	}
	function commented($commented_id){
		$this->load->model('Notif');
		$this->Notif->setFinishCommented($commented_id);
	}
	function friendIgnore($req_id){
		$this->load->model('Notif');
		$this->Notif->setIgnored($req_id);
	}
	function friendConfirm($req_id,$user_id,$friend_id){
		$this->load->model('Notif');
		$this->load->model('Friend');
		$this->Notif->setConfirm($req_id);
		$this->Friend->setFriend($user_id,$friend_id);
	}
}